﻿//    Miracinera - an adventure game (player).
//    Copyright (C) [2010]  [Christian Syska]
//
//    This file is part of Miracinera.
//
//    Miracinera is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    Miracinera is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with Miracinera.  If not, see <http://www.gnu.org/licenses/>.
//
//    Further information on the Miracinera project can be found on http://code.google.com/p/miracinera/
//    If there are any questions, you can contact me via email: Belua85@gmail.com

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Miracinera.Globals;

namespace Miracinera.Classes
{
    public class Room
    {
        public string Type { get; set; }
        public bool NorthExit { get; set; }
        public bool EastExit { get; set; }
        public bool SouthExit { get; set; }
        public bool WestExit { get; set; }
        public string Description { get; set; }
        public List<Item> Items { get; set; }


        public void BuildRoom(string type, bool N, bool E, bool S, bool W)
        {
            this.Type = type;
            this.NorthExit = N;
            this.EastExit = E;
            this.SouthExit = S;
            this.WestExit = W;
        }

        public void AddItem(Item item)
		{
            this.Items.Add(item);
			return;
		}
    }
}
